package com.wjy.myokhttp.net;

import java.io.IOException;

import okhttp3.Interceptor;
import okhttp3.Request;
import okhttp3.Response;

/**
 * Created by wjy.
 * Date: 2019/11/26
 * Time: 16:36
 * Describe: ${describe}
 */
public class HeaderInterceptor implements Interceptor {
    @Override
    public Response intercept(Chain chain) throws IOException {
        Request request = chain.request().newBuilder()
                .addHeader("","")
                .build();
        return chain.proceed(request);
    }
}
